<%--
  Created by IntelliJ IDEA.
  User: 001
  Date: 2017/6/13
  Time: 20:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户列表</title>
</head>
<body>


  <c:forEach items="${users}" var="um">
    <%--um.vlaue得到map值--%>
  <a href="${um.value.id}"> ${um.value.id}</a>------------
    ${um.value.username}-------
    ${um.value.password}-------
    ${um.value.sex}--------
    ${um.value.age}----
    ${um.value.sdept}---
    <a href="${um.value.id}/delete" >删除</a>---
    <a href="${um.value.id}/update">更新</a>
    <br>
  </c:forEach>
</body>
</html>
